Repository navigation
Add Hegel DataFusion SQL and IPC framing tests and trim test setup - #12339
lwwmanning wants to merge 3 commits into
Conversation
Adds a Hegel differential SQL property test in vortex-datafusion comparing multi-chunk, small-zone Vortex files across scan_v2 = false, scan_v2 = true, and v2::VortexTable against MemTable, and a synchronous Hegel chunk-split and truncation suite for vortex-ipc's sans-IO MessageDecoder. Consolidates duplicated VortexOpener, RecordBatch, and schema-evolution boilerplate across vortex-datafusion tests while parameterizing remaining opener and schema-evolution invariants over scan_v2 in [false, true] for a net reduction of 811 lines. Assisted by Antigravity. Signed-off-by: Will Manning <will@willmanning.io>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
roborev: Combined Review (
|
Merging this PR will not alter performanceWarning vortex-data has exceeded the Hobby plan limit of 5 active contributors. Upgrade your plan or apply to the open source program by December 8, 2026 to keep using CodSpeed. 2 warnings
Comparing Footnotes
|
lwwmanning
left a comment
There was a problem hiding this comment.
Posted by Claude Opus 5.5 on Will's behalf.
The consolidation holds up. Most deleted opener and schema evolution tests reappear as merged rstest cases over scan_v2, and the IPC chunk split test is new coverage. Three deleted checks have no replacement.
- vortex-datafusion/src/tests/differential.rs line 176: draw_atom never makes an arithmetic predicate. The deleted test_addition_pushdown was the only case that filtered a Vortex table on WHERE a + 5 > 7. Adding one atom such as "i + 5 > 7" to draw_atom restores that coverage.
- vortex-datafusion/src/persistent/opener.rs line 1409: test_open_preserves_declared_schema_metadata no longer asserts that expected_schema carries the "table" and "partition" metadata. If project_schema dropped the metadata, both sides would have none and the test would still pass. Please restore the two asserts.
- vortex-datafusion/src/tests/differential.rs line 390: the LIMIT query selects only id. The deleted test_query_file also checked that a LIMIT scan of a chunked file keeps each row's columns together. Selecting id with one or two other columns and comparing each row with the oracle row of the same id would keep that check.
Signed-off-by: Will Manning <will@spiraldb.com> Co-Authored-By: Will Manning <will@spiraldb.com>
|
Addressed all three findings from the review in
|
lwwmanning
left a comment
There was a problem hiding this comment.
Posted by Claude Opus 5.5 on Will's behalf.
Commit 4ed23d6 resolves my three earlier points. The differential test now draws an i + 5 predicate and checks each LIMIT row's columns against the oracle, and the metadata asserts are back. One small thing: the description still says the PR removes a net 811 lines, but after this commit the net is 737.
Signed-off-by: Will Manning <will@spiraldb.com> Co-Authored-By: Will Manning <will@spiraldb.com>
Adds a Hegel differential SQL property test in vortex-datafusion comparing multi-chunk, small-zone Vortex files across scan_v2 = false, scan_v2 = true, and v2::VortexTable against MemTable, and a synchronous Hegel chunk-split and truncation suite for vortex-ipc's sans-IO MessageDecoder. Consolidates duplicated VortexOpener, RecordBatch, and schema-evolution boilerplate across vortex-datafusion tests while parameterizing remaining opener and schema-evolution invariants over scan_v2 in [false, true] for a net reduction of 645 lines.
Assisted by Antigravity.